﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace UtilsBase
{
    public class PageQueryResult<T> where T : class, new()
    {
        private int recordCount;

        public int RecordCount
        {
            get { return recordCount; }
            set { recordCount = value; }
        }

        /// <summary>
        /// 结果集
        /// </summary>
        private IEnumerable<T> result;

        /// <summary>
        /// 结果集
        /// </summary>
        public IEnumerable<T> Result
        {
            get { return result; }
            set { result = value; }
        }

        private DataTable dtTable;

        public DataTable DtTable
        {
            get { return dtTable; }
            set { dtTable = value; }
        }
    }
}
